package com.shop.cereshop.commons.enums;

public enum  RoleEnum {

    TOURIST("tourist","游客"),
    WHOLESALER("wholesaler","批发商"),
    DISTRIBUTOR("distributor","分销商");

    private String code;
    private String desc;

    RoleEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
